lib/v20180416/models.rb in tencentcloud-sdk-tbaas-3.0.384 vs lib/v20180416/models.rb in tencentcloud-sdk-tbaas-3.0.385
- old
+ new
@@ -203,58 +203,10 @@
@PreHash = params['PreHash']
@TxCount = params['TxCount']
end
end
- # BlockByNumberHandler请求参数结构体
- class BlockByNumberHandlerRequest < TencentCloud::Common::AbstractModel
- # @param Module: 模块名,固定字段:block
- # @type Module: String
- # @param Operation: 操作名,固定字段:block_by_number
- # @type Operation: String
- # @param GroupPk: 当前群组编号
- # @type GroupPk: String
- # @param BlockNumber: 区块高度
- # @type BlockNumber: Integer
-
- attr_accessor :Module, :Operation, :GroupPk, :BlockNumber
-
- def initialize(_module=nil, operation=nil, grouppk=nil, blocknumber=nil)
- @Module = _module
- @Operation = operation
- @GroupPk = grouppk
- @BlockNumber = blocknumber
- end
-
- def deserialize(params)
- @Module = params['Module']
- @Operation = params['Operation']
- @GroupPk = params['GroupPk']
- @BlockNumber = params['BlockNumber']
- end
- end
-
- # BlockByNumberHandler返回参数结构体
- class BlockByNumberHandlerResponse < TencentCloud::Common::AbstractModel
- # @param BlockJson: 返回区块json字符串
- # @type BlockJson: String
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- # @type RequestId: String
-
- attr_accessor :BlockJson, :RequestId
-
- def initialize(blockjson=nil, requestid=nil)
- @BlockJson = blockjson
- @RequestId = requestid
- end
-
- def deserialize(params)
- @BlockJson = params['BlockJson']
- @RequestId = params['RequestId']
- end
- end
-
# 长安链合约执行结果
class ChainMakerContractResult < TencentCloud::Common::AbstractModel
# @param Code: 交易结果码
# @type Code: Integer
# @param CodeMessage: 交易结果码含义
@@ -525,70 +477,10 @@
@ContractAddress = params['ContractAddress']
@RequestId = params['RequestId']
end
end
- # DeployDynamicContractHandler请求参数结构体
- class DeployDynamicContractHandlerRequest < TencentCloud::Common::AbstractModel
- # @param Module: 模块名,固定字段:contract
- # @type Module: String
- # @param Operation: 操作名,固定字段:deploy_dynamic_contract
- # @type Operation: String
- # @param GroupPk: 群组编号
- # @type GroupPk: String
- # @param ContractName: 合约名称
- # @type ContractName: String
- # @param AbiInfo: 合约编译后的abi
- # @type AbiInfo: String
- # @param ByteCodeBin: 合约编译后的binary
- # @type ByteCodeBin: String
- # @param ConstructorParams: 构造函数入参
- # @type ConstructorParams: Array
-
- attr_accessor :Module, :Operation, :GroupPk, :ContractName, :AbiInfo, :ByteCodeBin, :ConstructorParams
-
- def initialize(_module=nil, operation=nil, grouppk=nil, contractname=nil, abiinfo=nil, bytecodebin=nil, constructorparams=nil)
- @Module = _module
- @Operation = operation
- @GroupPk = grouppk
- @ContractName = contractname
- @AbiInfo = abiinfo
- @ByteCodeBin = bytecodebin
- @ConstructorParams = constructorparams
- end
-
- def deserialize(params)
- @Module = params['Module']
- @Operation = params['Operation']
- @GroupPk = params['GroupPk']
- @ContractName = params['ContractName']
- @AbiInfo = params['AbiInfo']
- @ByteCodeBin = params['ByteCodeBin']
- @ConstructorParams = params['ConstructorParams']
- end
- end
-
- # DeployDynamicContractHandler返回参数结构体
- class DeployDynamicContractHandlerResponse < TencentCloud::Common::AbstractModel
- # @param ContractAddress: 部署成功返回的合约地址
- # @type ContractAddress: String
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- # @type RequestId: String
-
- attr_accessor :ContractAddress, :RequestId
-
- def initialize(contractaddress=nil, requestid=nil)
- @ContractAddress = contractaddress
- @RequestId = requestid
- end
-
- def deserialize(params)
- @ContractAddress = params['ContractAddress']
- @RequestId = params['RequestId']
- end
- end
-
# DownloadUserCert请求参数结构体
class DownloadUserCertRequest < TencentCloud::Common::AbstractModel
# @param Module: 模块名,固定字段:cert_mng
# @type Module: String
# @param Operation: 操作名,固定字段:cert_download_for_user
@@ -887,81 +779,10 @@
end
@RequestId = params['RequestId']
end
end
- # GetBlockListHandler请求参数结构体
- class GetBlockListHandlerRequest < TencentCloud::Common::AbstractModel
- # @param Module: 模块名,固定字段:block
- # @type Module: String
- # @param Operation: 操作名,固定字段:get_block_list
- # @type Operation: String
- # @param Offset: 记录偏移数
- # @type Offset: Integer
- # @param Limit: 每页记录数
- # @type Limit: Integer
- # @param GroupPk: 当前群组编号
- # @type GroupPk: String
- # @param BlockHash: 区块哈希
- # @type BlockHash: String
-
- attr_accessor :Module, :Operation, :Offset, :Limit, :GroupPk, :BlockHash
-
- def initialize(_module=nil, operation=nil, offset=nil, limit=nil, grouppk=nil, blockhash=nil)
- @Module = _module
- @Operation = operation
- @Offset = offset
- @Limit = limit
- @GroupPk = grouppk
- @BlockHash = blockhash
- end
-
- def deserialize(params)
- @Module = params['Module']
- @Operation = params['Operation']
- @Offset = params['Offset']
- @Limit = params['Limit']
- @GroupPk = params['GroupPk']
- @BlockHash = params['BlockHash']
- end
- end
-
- # GetBlockListHandler返回参数结构体
- class GetBlockListHandlerResponse < TencentCloud::Common::AbstractModel
- # @param TotalCount: 总记录数
- # @type TotalCount: Integer
- # @param GroupPk: 当前群组编号
- # @type GroupPk: String
- # @param List: 返回数据列表
- # @type List: Array
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- # @type RequestId: String
-
- attr_accessor :TotalCount, :GroupPk, :List, :RequestId
-
- def initialize(totalcount=nil, grouppk=nil, list=nil, requestid=nil)
- @TotalCount = totalcount
- @GroupPk = grouppk
- @List = list
- @RequestId = requestid
- end
-
- def deserialize(params)
- @TotalCount = params['TotalCount']
- @GroupPk = params['GroupPk']
- unless params['List'].nil?
- @List = []
- params['List'].each do |i|
- bcosblockobj_tmp = BcosBlockObj.new
- bcosblockobj_tmp.deserialize(i)
- @List << bcosblockobj_tmp
- end
- end
- @RequestId = params['RequestId']
- end
- end
-
# GetBlockList请求参数结构体
class GetBlockListRequest < TencentCloud::Common::AbstractModel
# @param Module: 模块名称,固定字段:block
# @type Module: String
# @param Operation: 操作名称,固定字段:block_list
@@ -1798,129 +1619,10 @@
end
@RequestId = params['RequestId']
end
end
- # GetTransByHashHandler请求参数结构体
- class GetTransByHashHandlerRequest < TencentCloud::Common::AbstractModel
- # @param Module: 模块名,固定字段:transaction
- # @type Module: String
- # @param Operation: 操作名,固定字段:get_trans_by_hash
- # @type Operation: String
- # @param GroupPk: 群组编号
- # @type GroupPk: String
- # @param TransHash: 交易哈希
- # @type TransHash: String
-
- attr_accessor :Module, :Operation, :GroupPk, :TransHash
-
- def initialize(_module=nil, operation=nil, grouppk=nil, transhash=nil)
- @Module = _module
- @Operation = operation
- @GroupPk = grouppk
- @TransHash = transhash
- end
-
- def deserialize(params)
- @Module = params['Module']
- @Operation = params['Operation']
- @GroupPk = params['GroupPk']
- @TransHash = params['TransHash']
- end
- end
-
- # GetTransByHashHandler返回参数结构体
- class GetTransByHashHandlerResponse < TencentCloud::Common::AbstractModel
- # @param TransactionJson: 交易信息json字符串
- # @type TransactionJson: String
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- # @type RequestId: String
-
- attr_accessor :TransactionJson, :RequestId
-
- def initialize(transactionjson=nil, requestid=nil)
- @TransactionJson = transactionjson
- @RequestId = requestid
- end
-
- def deserialize(params)
- @TransactionJson = params['TransactionJson']
- @RequestId = params['RequestId']
- end
- end
-
- # GetTransListHandler请求参数结构体
- class GetTransListHandlerRequest < TencentCloud::Common::AbstractModel
- # @param Module: 模块名,固定字段:transaction
- # @type Module: String
- # @param Operation: 操作名,固定字段:get_trans_list
- # @type Operation: String
- # @param Offset: 记录偏移量
- # @type Offset: Integer
- # @param Limit: 每页记录数
- # @type Limit: Integer
- # @param GroupPk: 群组编号
- # @type GroupPk: String
- # @param TransHash: 交易哈希
- # @type TransHash: String
-
- attr_accessor :Module, :Operation, :Offset, :Limit, :GroupPk, :TransHash
-
- def initialize(_module=nil, operation=nil, offset=nil, limit=nil, grouppk=nil, transhash=nil)
- @Module = _module
- @Operation = operation
- @Offset = offset
- @Limit = limit
- @GroupPk = grouppk
- @TransHash = transhash
- end
-
- def deserialize(params)
- @Module = params['Module']
- @Operation = params['Operation']
- @Offset = params['Offset']
- @Limit = params['Limit']
- @GroupPk = params['GroupPk']
- @TransHash = params['TransHash']
- end
- end
-
- # GetTransListHandler返回参数结构体
- class GetTransListHandlerResponse < TencentCloud::Common::AbstractModel
- # @param TotalCount: 总记录数
- # @type TotalCount: Integer
- # @param GroupPk: 当前群组编号
- # @type GroupPk: String
- # @param List: 返回数据列表
- # @type List: Array
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- # @type RequestId: String
-
- attr_accessor :TotalCount, :GroupPk, :List, :RequestId
-
- def initialize(totalcount=nil, grouppk=nil, list=nil, requestid=nil)
- @TotalCount = totalcount
- @GroupPk = grouppk
- @List = list
- @RequestId = requestid
- end
-
- def deserialize(params)
- @TotalCount = params['TotalCount']
- @GroupPk = params['GroupPk']
- unless params['List'].nil?
- @List = []
- params['List'].each do |i|
- bcostransinfo_tmp = BcosTransInfo.new
- bcostransinfo_tmp.deserialize(i)
- @List << bcostransinfo_tmp
- end
- end
- @RequestId = params['RequestId']
- end
- end
-
# GetTransactionDetailForUser请求参数结构体
class GetTransactionDetailForUserRequest < TencentCloud::Common::AbstractModel
# @param Module: 模块名,固定字段:transaction
# @type Module: String
# @param Operation: 操作名,固定字段:transaction_detail_for_user
@@ -2852,66 +2554,10 @@
@Data = params['Data']
@RequestId = params['RequestId']
end
end
- # SendTransactionHandler请求参数结构体
- class SendTransactionHandlerRequest < TencentCloud::Common::AbstractModel
- # @param Module: 模块名,固定字段:transaction
- # @type Module: String
- # @param Operation: 操作名,固定字段:send_transaction
- # @type Operation: String
- # @param GroupPk: 群组编号
- # @type GroupPk: String
- # @param ContractId: 合约编号
- # @type ContractId: Integer
- # @param FuncName: 合约方法名
- # @type FuncName: String
- # @param FuncParam: 合约方法入参
- # @type FuncParam: Array
-
- attr_accessor :Module, :Operation, :GroupPk, :ContractId, :FuncName, :FuncParam
-
- def initialize(_module=nil, operation=nil, grouppk=nil, contractid=nil, funcname=nil, funcparam=nil)
- @Module = _module
- @Operation = operation
- @GroupPk = grouppk
- @ContractId = contractid
- @FuncName = funcname
- @FuncParam = funcparam
- end
-
- def deserialize(params)
- @Module = params['Module']
- @Operation = params['Operation']
- @GroupPk = params['GroupPk']
- @ContractId = params['ContractId']
- @FuncName = params['FuncName']
- @FuncParam = params['FuncParam']
- end
- end
-
- # SendTransactionHandler返回参数结构体
- class SendTransactionHandlerResponse < TencentCloud::Common::AbstractModel
- # @param TransactionRsp: 交易结果json字符串
- # @type TransactionRsp: String
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- # @type RequestId: String
-
- attr_accessor :TransactionRsp, :RequestId
-
- def initialize(transactionrsp=nil, requestid=nil)
- @TransactionRsp = transactionrsp
- @RequestId = requestid
- end
-
- def deserialize(params)
- @TransactionRsp = params['TransactionRsp']
- @RequestId = params['RequestId']
- end
- end
-
# SrvInvoke请求参数结构体
class SrvInvokeRequest < TencentCloud::Common::AbstractModel
# @param Service: 服务类型,iss或者dam
# @type Service: String
# @param Method: 服务接口,要调用的方法函数名
@@ -2956,73 +2602,9 @@
def deserialize(params)
@RetCode = params['RetCode']
@RetMsg = params['RetMsg']
@Data = params['Data']
- @RequestId = params['RequestId']
- end
- end
-
- # TransByDynamicContractHandler请求参数结构体
- class TransByDynamicContractHandlerRequest < TencentCloud::Common::AbstractModel
- # @param Module: 模块名,固定字段:transaction
- # @type Module: String
- # @param Operation: 操作名,固定字段:trans_by_dynamic_contract
- # @type Operation: String
- # @param GroupPk: 群组编号
- # @type GroupPk: String
- # @param ContractAddress: 合约地址(合约部署成功,可得到合约地址)
- # @type ContractAddress: String
- # @param ContractName: 合约名
- # @type ContractName: String
- # @param AbiInfo: 合约编译后的abi
- # @type AbiInfo: String
- # @param FuncName: 合约被调用方法名
- # @type FuncName: String
- # @param FuncParam: 合约被调用方法的入参
- # @type FuncParam: Array
-
- attr_accessor :Module, :Operation, :GroupPk, :ContractAddress, :ContractName, :AbiInfo, :FuncName, :FuncParam
-
- def initialize(_module=nil, operation=nil, grouppk=nil, contractaddress=nil, contractname=nil, abiinfo=nil, funcname=nil, funcparam=nil)
- @Module = _module
- @Operation = operation
- @GroupPk = grouppk
- @ContractAddress = contractaddress
- @ContractName = contractname
- @AbiInfo = abiinfo
- @FuncName = funcname
- @FuncParam = funcparam
- end
-
- def deserialize(params)
- @Module = params['Module']
- @Operation = params['Operation']
- @GroupPk = params['GroupPk']
- @ContractAddress = params['ContractAddress']
- @ContractName = params['ContractName']
- @AbiInfo = params['AbiInfo']
- @FuncName = params['FuncName']
- @FuncParam = params['FuncParam']
- end
- end
-
- # TransByDynamicContractHandler返回参数结构体
- class TransByDynamicContractHandlerResponse < TencentCloud::Common::AbstractModel
- # @param TransactionRsp: 交易结果json字符串
- # @type TransactionRsp: String
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- # @type RequestId: String
-
- attr_accessor :TransactionRsp, :RequestId
-
- def initialize(transactionrsp=nil, requestid=nil)
- @TransactionRsp = transactionrsp
- @RequestId = requestid
- end
-
- def deserialize(params)
- @TransactionRsp = params['TransactionRsp']
@RequestId = params['RequestId']
end
end
# 交易列表项信息