lib/v20180416/models.rb in tencentcloud-sdk-tbaas-3.0.616 vs lib/v20180416/models.rb in tencentcloud-sdk-tbaas-3.0.617
- old
+ new
@@ -259,136 +259,10 @@
@Message = params['Message']
@Timestamp = params['Timestamp']
end
end
- # 通道详情信息
- class ChannelDetailForUser < TencentCloud::Common::AbstractModel
- # @param ChannelName: 通道名称
- # @type ChannelName: String
- # @param PeerList: 当前组织加入通道的节点列表
- # @type PeerList: Array
-
- attr_accessor :ChannelName, :PeerList
-
- def initialize(channelname=nil, peerlist=nil)
- @ChannelName = channelname
- @PeerList = peerlist
- end
-
- def deserialize(params)
- @ChannelName = params['ChannelName']
- unless params['PeerList'].nil?
- @PeerList = []
- params['PeerList'].each do |i|
- peerdetailforuser_tmp = PeerDetailForUser.new
- peerdetailforuser_tmp.deserialize(i)
- @PeerList << peerdetailforuser_tmp
- end
- end
- end
- end
-
- # 网络详情信息
- class ClusterDetailForUser < TencentCloud::Common::AbstractModel
- # @param ClusterId: 网络ID
- # @type ClusterId: String
- # @param GroupList: 组织列表
- # @type GroupList: Array
- # @param ClusterName: 网络名称
- # @type ClusterName: String
-
- attr_accessor :ClusterId, :GroupList, :ClusterName
-
- def initialize(clusterid=nil, grouplist=nil, clustername=nil)
- @ClusterId = clusterid
- @GroupList = grouplist
- @ClusterName = clustername
- end
-
- def deserialize(params)
- @ClusterId = params['ClusterId']
- unless params['GroupList'].nil?
- @GroupList = []
- params['GroupList'].each do |i|
- groupdetailforuser_tmp = GroupDetailForUser.new
- groupdetailforuser_tmp.deserialize(i)
- @GroupList << groupdetailforuser_tmp
- end
- end
- @ClusterName = params['ClusterName']
- end
- end
-
- # CreateChaincodeAndInstallForUser请求参数结构体
- class CreateChaincodeAndInstallForUserRequest < TencentCloud::Common::AbstractModel
- # @param Module: 模块名,本接口取值:chaincode_mng
- # @type Module: String
- # @param Operation: 操作名,本接口取值:chaincode_create_and_install_for_user
- # @type Operation: String
- # @param ClusterId: 区块链网络ID,可在区块链网络详情或列表中获取
- # @type ClusterId: String
- # @param GroupName: 调用合约的组织名称,可以在组织管理列表中获取当前组织的名称
- # @type GroupName: String
- # @param PeerName: 合约安装节点名称,可以在通道详情中获取该通道上的节点名称
- # @type PeerName: String
- # @param ChaincodeName: 智能合约名称,格式说明:以小写字母开头,由2-12位数字或小写字母组成
- # @type ChaincodeName: String
- # @param ChaincodeVersion: 智能合约版本,格式说明:由1-12位数字、小写字母、特殊符号(“.”)组成,如v1.0
- # @type ChaincodeVersion: String
- # @param ChaincodeFileType: 智能合约代码文件类型,支持类型:
- # 1. "go":.go合约文件
- # 2. "gozip":go合约工程zip包,要求压缩目录为代码根目录
- # 3. "javazip":java合约工程zip包,要求压缩目录为代码根目录
- # 4. "nodezip":nodejs合约工程zip包,要求压缩目录为代码根目录
- # @type ChaincodeFileType: String
- # @param Chaincode: 合约内容,合约文件或压缩包内容的base64编码,大小要求小于等于5M
- # @type Chaincode: String
-
- attr_accessor :Module, :Operation, :ClusterId, :GroupName, :PeerName, :ChaincodeName, :ChaincodeVersion, :ChaincodeFileType, :Chaincode
-
- def initialize(_module=nil, operation=nil, clusterid=nil, groupname=nil, peername=nil, chaincodename=nil, chaincodeversion=nil, chaincodefiletype=nil, chaincode=nil)
- @Module = _module
- @Operation = operation
- @ClusterId = clusterid
- @GroupName = groupname
- @PeerName = peername
- @ChaincodeName = chaincodename
- @ChaincodeVersion = chaincodeversion
- @ChaincodeFileType = chaincodefiletype
- @Chaincode = chaincode
- end
-
- def deserialize(params)
- @Module = params['Module']
- @Operation = params['Operation']
- @ClusterId = params['ClusterId']
- @GroupName = params['GroupName']
- @PeerName = params['PeerName']
- @ChaincodeName = params['ChaincodeName']
- @ChaincodeVersion = params['ChaincodeVersion']
- @ChaincodeFileType = params['ChaincodeFileType']
- @Chaincode = params['Chaincode']
- end
- end
-
- # CreateChaincodeAndInstallForUser返回参数结构体
- class CreateChaincodeAndInstallForUserResponse < TencentCloud::Common::AbstractModel
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- # @type RequestId: String
-
- attr_accessor :RequestId
-
- def initialize(requestid=nil)
- @RequestId = requestid
- end
-
- def deserialize(params)
- @RequestId = params['RequestId']
- end
- end
-
# DownloadUserCert请求参数结构体
class DownloadUserCertRequest < TencentCloud::Common::AbstractModel
# @param Module: 模块名,固定字段:cert_mng
# @type Module: String
# @param Operation: 操作名,固定字段:cert_download_for_user
@@ -619,362 +493,10 @@
end
@RequestId = params['RequestId']
end
end
- # GetChaincodeCompileLogForUser请求参数结构体
- class GetChaincodeCompileLogForUserRequest < TencentCloud::Common::AbstractModel
- # @param Module: 模块名,本接口取值:chaincode_mng
- # @type Module: String
- # @param Operation: 操作名,本接口取值:chaincode_compile_log_for_user
- # @type Operation: String
- # @param ClusterId: 区块链网络ID,可在区块链网络详情或列表中获取
- # @type ClusterId: String
- # @param GroupName: 调用合约的组织名称
- # @type GroupName: String
- # @param ChaincodeName: 业务所属智能合约名称
- # @type ChaincodeName: String
- # @param ChaincodeVersion: 业务所属智能合约版本
- # @type ChaincodeVersion: String
- # @param PeerName: 合约安装节点名称,可以在通道详情中获取该通道上的节点名称
- # @type PeerName: String
- # @param Limit: 返回数据项数,本接口默认取值:10
- # @type Limit: Integer
- # @param Offset: 返回数据起始偏移,本接口默认取值:0
- # @type Offset: Integer
-
- attr_accessor :Module, :Operation, :ClusterId, :GroupName, :ChaincodeName, :ChaincodeVersion, :PeerName, :Limit, :Offset
-
- def initialize(_module=nil, operation=nil, clusterid=nil, groupname=nil, chaincodename=nil, chaincodeversion=nil, peername=nil, limit=nil, offset=nil)
- @Module = _module
- @Operation = operation
- @ClusterId = clusterid
- @GroupName = groupname
- @ChaincodeName = chaincodename
- @ChaincodeVersion = chaincodeversion
- @PeerName = peername
- @Limit = limit
- @Offset = offset
- end
-
- def deserialize(params)
- @Module = params['Module']
- @Operation = params['Operation']
- @ClusterId = params['ClusterId']
- @GroupName = params['GroupName']
- @ChaincodeName = params['ChaincodeName']
- @ChaincodeVersion = params['ChaincodeVersion']
- @PeerName = params['PeerName']
- @Limit = params['Limit']
- @Offset = params['Offset']
- end
- end
-
- # GetChaincodeCompileLogForUser返回参数结构体
- class GetChaincodeCompileLogForUserResponse < TencentCloud::Common::AbstractModel
- # @param TotalCount: 日志总行数,上限2000条日志
- # @type TotalCount: Integer
- # @param CompileLogList: 日志列表
- # @type CompileLogList: Array
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- # @type RequestId: String
-
- attr_accessor :TotalCount, :CompileLogList, :RequestId
-
- def initialize(totalcount=nil, compileloglist=nil, requestid=nil)
- @TotalCount = totalcount
- @CompileLogList = compileloglist
- @RequestId = requestid
- end
-
- def deserialize(params)
- @TotalCount = params['TotalCount']
- unless params['CompileLogList'].nil?
- @CompileLogList = []
- params['CompileLogList'].each do |i|
- logdetailforuser_tmp = LogDetailForUser.new
- logdetailforuser_tmp.deserialize(i)
- @CompileLogList << logdetailforuser_tmp
- end
- end
- @RequestId = params['RequestId']
- end
- end
-
- # GetChaincodeInitializeResultForUser请求参数结构体
- class GetChaincodeInitializeResultForUserRequest < TencentCloud::Common::AbstractModel
- # @param Module: 模块名,本接口取值:chaincode_mng
- # @type Module: String
- # @param Operation: 操作名,本接口取值:chaincode_init_result_for_user
- # @type Operation: String
- # @param ClusterId: 区块链网络ID,可在区块链网络详情或列表中获取
- # @type ClusterId: String
- # @param GroupName: 调用合约的组织名称
- # @type GroupName: String
- # @param ChannelName: 业务所属通道名称
- # @type ChannelName: String
- # @param ChaincodeName: 业务所属合约名称
- # @type ChaincodeName: String
- # @param ChaincodeVersion: 业务所属智能合约版本
- # @type ChaincodeVersion: String
- # @param TaskId: 实例化任务ID
- # @type TaskId: Integer
-
- attr_accessor :Module, :Operation, :ClusterId, :GroupName, :ChannelName, :ChaincodeName, :ChaincodeVersion, :TaskId
-
- def initialize(_module=nil, operation=nil, clusterid=nil, groupname=nil, channelname=nil, chaincodename=nil, chaincodeversion=nil, taskid=nil)
- @Module = _module
- @Operation = operation
- @ClusterId = clusterid
- @GroupName = groupname
- @ChannelName = channelname
- @ChaincodeName = chaincodename
- @ChaincodeVersion = chaincodeversion
- @TaskId = taskid
- end
-
- def deserialize(params)
- @Module = params['Module']
- @Operation = params['Operation']
- @ClusterId = params['ClusterId']
- @GroupName = params['GroupName']
- @ChannelName = params['ChannelName']
- @ChaincodeName = params['ChaincodeName']
- @ChaincodeVersion = params['ChaincodeVersion']
- @TaskId = params['TaskId']
- end
- end
-
- # GetChaincodeInitializeResultForUser返回参数结构体
- class GetChaincodeInitializeResultForUserResponse < TencentCloud::Common::AbstractModel
- # @param InitResult: 实例化结果:0,实例化中;1,实例化成功;2,实例化失败
- # @type InitResult: Integer
- # @param InitMessage: 实例化信息
- # @type InitMessage: String
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- # @type RequestId: String
-
- attr_accessor :InitResult, :InitMessage, :RequestId
-
- def initialize(initresult=nil, initmessage=nil, requestid=nil)
- @InitResult = initresult
- @InitMessage = initmessage
- @RequestId = requestid
- end
-
- def deserialize(params)
- @InitResult = params['InitResult']
- @InitMessage = params['InitMessage']
- @RequestId = params['RequestId']
- end
- end
-
- # GetChaincodeLogForUser请求参数结构体
- class GetChaincodeLogForUserRequest < TencentCloud::Common::AbstractModel
- # @param Module: 模块名,本接口取值:chaincode_mng
- # @type Module: String
- # @param Operation: 操作名,本接口取值:chaincode_log_for_user
- # @type Operation: String
- # @param ClusterId: 区块链网络ID,可在区块链网络详情或列表中获取
- # @type ClusterId: String
- # @param GroupName: 调用合约的组织名称
- # @type GroupName: String
- # @param ChaincodeName: 业务所属智能合约名称
- # @type ChaincodeName: String
- # @param ChaincodeVersion: 业务所属智能合约版本
- # @type ChaincodeVersion: String
- # @param PeerName: 合约安装节点名称,可以在通道详情中获取该通道上的节点名称
- # @type PeerName: String
- # @param BeginTime: 日志开始时间,如"2020-11-24 19:49:25"
- # @type BeginTime: String
- # @param RowNum: 返回日志行数的最大值,系统设定该参数最大为1000,且一行日志的最大字节数是500,即最大返回50万个字节数的日志数据
- # @type RowNum: Integer
-
- attr_accessor :Module, :Operation, :ClusterId, :GroupName, :ChaincodeName, :ChaincodeVersion, :PeerName, :BeginTime, :RowNum
-
- def initialize(_module=nil, operation=nil, clusterid=nil, groupname=nil, chaincodename=nil, chaincodeversion=nil, peername=nil, begintime=nil, rownum=nil)
- @Module = _module
- @Operation = operation
- @ClusterId = clusterid
- @GroupName = groupname
- @ChaincodeName = chaincodename
- @ChaincodeVersion = chaincodeversion
- @PeerName = peername
- @BeginTime = begintime
- @RowNum = rownum
- end
-
- def deserialize(params)
- @Module = params['Module']
- @Operation = params['Operation']
- @ClusterId = params['ClusterId']
- @GroupName = params['GroupName']
- @ChaincodeName = params['ChaincodeName']
- @ChaincodeVersion = params['ChaincodeVersion']
- @PeerName = params['PeerName']
- @BeginTime = params['BeginTime']
- @RowNum = params['RowNum']
- end
- end
-
- # GetChaincodeLogForUser返回参数结构体
- class GetChaincodeLogForUserResponse < TencentCloud::Common::AbstractModel
- # @param TotalCount: 返回日志总行数,不会超过入参的RowNum
- # @type TotalCount: Integer
- # @param ChaincodeLogList: 日志列表
- # @type ChaincodeLogList: Array
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- # @type RequestId: String
-
- attr_accessor :TotalCount, :ChaincodeLogList, :RequestId
-
- def initialize(totalcount=nil, chaincodeloglist=nil, requestid=nil)
- @TotalCount = totalcount
- @ChaincodeLogList = chaincodeloglist
- @RequestId = requestid
- end
-
- def deserialize(params)
- @TotalCount = params['TotalCount']
- unless params['ChaincodeLogList'].nil?
- @ChaincodeLogList = []
- params['ChaincodeLogList'].each do |i|
- logdetailforuser_tmp = LogDetailForUser.new
- logdetailforuser_tmp.deserialize(i)
- @ChaincodeLogList << logdetailforuser_tmp
- end
- end
- @RequestId = params['RequestId']
- end
- end
-
- # GetChannelListForUser请求参数结构体
- class GetChannelListForUserRequest < TencentCloud::Common::AbstractModel
- # @param Module: 模块名,本接口取值:channel_mng
- # @type Module: String
- # @param Operation: 操作名,本接口取值:channel_list_for_user
- # @type Operation: String
- # @param ClusterId: 区块链网络ID,可在区块链网络详情或列表中获取
- # @type ClusterId: String
- # @param GroupName: 组织名称
- # @type GroupName: String
- # @param Limit: 返回数据项数,本接口默认取值:10,上限取值:20
- # @type Limit: Integer
- # @param Offset: 返回数据起始偏移,本接口默认取值:0
- # @type Offset: Integer
-
- attr_accessor :Module, :Operation, :ClusterId, :GroupName, :Limit, :Offset
-
- def initialize(_module=nil, operation=nil, clusterid=nil, groupname=nil, limit=nil, offset=nil)
- @Module = _module
- @Operation = operation
- @ClusterId = clusterid
- @GroupName = groupname
- @Limit = limit
- @Offset = offset
- end
-
- def deserialize(params)
- @Module = params['Module']
- @Operation = params['Operation']
- @ClusterId = params['ClusterId']
- @GroupName = params['GroupName']
- @Limit = params['Limit']
- @Offset = params['Offset']
- end
- end
-
- # GetChannelListForUser返回参数结构体
- class GetChannelListForUserResponse < TencentCloud::Common::AbstractModel
- # @param TotalCount: 通道总数量
- # @type TotalCount: Integer
- # @param ChannelList: 通道列表
- # @type ChannelList: Array
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- # @type RequestId: String
-
- attr_accessor :TotalCount, :ChannelList, :RequestId
-
- def initialize(totalcount=nil, channellist=nil, requestid=nil)
- @TotalCount = totalcount
- @ChannelList = channellist
- @RequestId = requestid
- end
-
- def deserialize(params)
- @TotalCount = params['TotalCount']
- unless params['ChannelList'].nil?
- @ChannelList = []
- params['ChannelList'].each do |i|
- channeldetailforuser_tmp = ChannelDetailForUser.new
- channeldetailforuser_tmp.deserialize(i)
- @ChannelList << channeldetailforuser_tmp
- end
- end
- @RequestId = params['RequestId']
- end
- end
-
- # GetClusterListForUser请求参数结构体
- class GetClusterListForUserRequest < TencentCloud::Common::AbstractModel
- # @param Module: 模块名,本接口取值:cluster_mng
- # @type Module: String
- # @param Operation: 操作名,本接口取值:cluster_list_for_user
- # @type Operation: String
- # @param Limit: 返回数据项数,本接口默认取值:10,上限取值:20
- # @type Limit: Integer
- # @param Offset: 返回数据起始偏移,本接口默认取值:0
- # @type Offset: Integer
-
- attr_accessor :Module, :Operation, :Limit, :Offset
-
- def initialize(_module=nil, operation=nil, limit=nil, offset=nil)
- @Module = _module
- @Operation = operation
- @Limit = limit
- @Offset = offset
- end
-
- def deserialize(params)
- @Module = params['Module']
- @Operation = params['Operation']
- @Limit = params['Limit']
- @Offset = params['Offset']
- end
- end
-
- # GetClusterListForUser返回参数结构体
- class GetClusterListForUserResponse < TencentCloud::Common::AbstractModel
- # @param TotalCount: 网络总数量
- # @type TotalCount: Integer
- # @param ClusterList: 网络列表
- # @type ClusterList: Array
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- # @type RequestId: String
-
- attr_accessor :TotalCount, :ClusterList, :RequestId
-
- def initialize(totalcount=nil, clusterlist=nil, requestid=nil)
- @TotalCount = totalcount
- @ClusterList = clusterlist
- @RequestId = requestid
- end
-
- def deserialize(params)
- @TotalCount = params['TotalCount']
- unless params['ClusterList'].nil?
- @ClusterList = []
- params['ClusterList'].each do |i|
- clusterdetailforuser_tmp = ClusterDetailForUser.new
- clusterdetailforuser_tmp.deserialize(i)
- @ClusterList << clusterdetailforuser_tmp
- end
- end
- @RequestId = params['RequestId']
- end
- end
-
# GetClusterSummary请求参数结构体
class GetClusterSummaryRequest < TencentCloud::Common::AbstractModel
# @param Module: 模块名称,固定字段:cluster_mng
# @type Module: String
# @param Operation: 操作名称,固定字段:cluster_summary
@@ -1317,81 +839,10 @@
end
@RequestId = params['RequestId']
end
end
- # GetPeerLogForUser请求参数结构体
- class GetPeerLogForUserRequest < TencentCloud::Common::AbstractModel
- # @param Module: 模块名,本接口取值:peer_mng
- # @type Module: String
- # @param Operation: 操作名,本接口取值:peer_log_for_user
- # @type Operation: String
- # @param ClusterId: 区块链网络ID,可在区块链网络详情或列表中获取
- # @type ClusterId: String
- # @param GroupName: 调用合约的组织名称
- # @type GroupName: String
- # @param PeerName: 节点名称
- # @type PeerName: String
- # @param BeginTime: 日志开始时间,如"2020-11-24 19:49:25"
- # @type BeginTime: String
- # @param RowNum: 返回日志行数的最大值,系统设定该参数最大为1000,且一行日志的最大字节数是500,即最大返回50万个字节数的日志数据
- # @type RowNum: Integer
-
- attr_accessor :Module, :Operation, :ClusterId, :GroupName, :PeerName, :BeginTime, :RowNum
-
- def initialize(_module=nil, operation=nil, clusterid=nil, groupname=nil, peername=nil, begintime=nil, rownum=nil)
- @Module = _module
- @Operation = operation
- @ClusterId = clusterid
- @GroupName = groupname
- @PeerName = peername
- @BeginTime = begintime
- @RowNum = rownum
- end
-
- def deserialize(params)
- @Module = params['Module']
- @Operation = params['Operation']
- @ClusterId = params['ClusterId']
- @GroupName = params['GroupName']
- @PeerName = params['PeerName']
- @BeginTime = params['BeginTime']
- @RowNum = params['RowNum']
- end
- end
-
- # GetPeerLogForUser返回参数结构体
- class GetPeerLogForUserResponse < TencentCloud::Common::AbstractModel
- # @param TotalCount: 返回日志总行数,不会超过入参的RowNum
- # @type TotalCount: Integer
- # @param PeerLogList: 日志列表
- # @type PeerLogList: Array
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- # @type RequestId: String
-
- attr_accessor :TotalCount, :PeerLogList, :RequestId
-
- def initialize(totalcount=nil, peerloglist=nil, requestid=nil)
- @TotalCount = totalcount
- @PeerLogList = peerloglist
- @RequestId = requestid
- end
-
- def deserialize(params)
- @TotalCount = params['TotalCount']
- unless params['PeerLogList'].nil?
- @PeerLogList = []
- params['PeerLogList'].each do |i|
- logdetailforuser_tmp = LogDetailForUser.new
- logdetailforuser_tmp.deserialize(i)
- @PeerLogList << logdetailforuser_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
@@ -1503,98 +954,10 @@
end
@RequestId = params['RequestId']
end
end
- # 组织详情信息
- class GroupDetailForUser < TencentCloud::Common::AbstractModel
- # @param GroupName: 组织名称
- # @type GroupName: String
- # @param GroupMSPId: 组织MSP Identity
- # @type GroupMSPId: String
-
- attr_accessor :GroupName, :GroupMSPId
-
- def initialize(groupname=nil, groupmspid=nil)
- @GroupName = groupname
- @GroupMSPId = groupmspid
- end
-
- def deserialize(params)
- @GroupName = params['GroupName']
- @GroupMSPId = params['GroupMSPId']
- end
- end
-
- # InitializeChaincodeForUser请求参数结构体
- class InitializeChaincodeForUserRequest < TencentCloud::Common::AbstractModel
- # @param Module: 模块名,本接口取值:chaincode_mng
- # @type Module: String
- # @param Operation: 操作名,本接口取值:chaincode_init_for_user
- # @type Operation: String
- # @param ClusterId: 区块链网络ID,可在区块链网络详情或列表中获取
- # @type ClusterId: String
- # @param GroupName: 调用合约的组织名称
- # @type GroupName: String
- # @param ChaincodeName: 业务所属智能合约名称
- # @type ChaincodeName: String
- # @param ChaincodeVersion: 业务所属智能合约版本
- # @type ChaincodeVersion: String
- # @param ChannelName: 业务所属通道名称
- # @type ChannelName: String
- # @param PeerName: 合约实例化节点名称,可以在通道详情中获取该通道上的节点名称
- # @type PeerName: String
- # @param Args: 实例化的函数参数列表
- # @type Args: Array
-
- attr_accessor :Module, :Operation, :ClusterId, :GroupName, :ChaincodeName, :ChaincodeVersion, :ChannelName, :PeerName, :Args
-
- def initialize(_module=nil, operation=nil, clusterid=nil, groupname=nil, chaincodename=nil, chaincodeversion=nil, channelname=nil, peername=nil, args=nil)
- @Module = _module
- @Operation = operation
- @ClusterId = clusterid
- @GroupName = groupname
- @ChaincodeName = chaincodename
- @ChaincodeVersion = chaincodeversion
- @ChannelName = channelname
- @PeerName = peername
- @Args = args
- end
-
- def deserialize(params)
- @Module = params['Module']
- @Operation = params['Operation']
- @ClusterId = params['ClusterId']
- @GroupName = params['GroupName']
- @ChaincodeName = params['ChaincodeName']
- @ChaincodeVersion = params['ChaincodeVersion']
- @ChannelName = params['ChannelName']
- @PeerName = params['PeerName']
- @Args = params['Args']
- end
- end
-
- # InitializeChaincodeForUser返回参数结构体
- class InitializeChaincodeForUserResponse < TencentCloud::Common::AbstractModel
- # @param TaskId: 实例化任务ID,用于查询实例化结果
- # @type TaskId: Integer
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- # @type RequestId: String
-
- attr_accessor :TaskId, :RequestId
-
- def initialize(taskid=nil, requestid=nil)
- @TaskId = taskid
- @RequestId = requestid
- end
-
- def deserialize(params)
- @TaskId = params['TaskId']
- @RequestId = params['RequestId']
- end
- end
-
# InvokeChainMakerContract请求参数结构体
class InvokeChainMakerContractRequest < TencentCloud::Common::AbstractModel
# @param ClusterId: 网络ID,可在区块链网络详情或列表中获取
# @type ClusterId: String
# @param ChainId: 业务链ID,可在网络概览页获取
@@ -1791,45 +1154,9 @@
def deserialize(params)
@Txid = params['Txid']
@Events = params['Events']
@RequestId = params['RequestId']
- end
- end
-
- # 日志详情信息
- class LogDetailForUser < TencentCloud::Common::AbstractModel
- # @param LineNumber: 日志行号
- # @type LineNumber: Integer
- # @param LogMessage: 日志详情
- # @type LogMessage: String
-
- attr_accessor :LineNumber, :LogMessage
-
- def initialize(linenumber=nil, logmessage=nil)
- @LineNumber = linenumber
- @LogMessage = logmessage
- end
-
- def deserialize(params)
- @LineNumber = params['LineNumber']
- @LogMessage = params['LogMessage']
- end
- end
-
- # 节点详情信息
- class PeerDetailForUser < TencentCloud::Common::AbstractModel
- # @param PeerName: 节点名称
- # @type PeerName: String
-
- attr_accessor :PeerName
-
- def initialize(peername=nil)
- @PeerName = peername
- end
-
- def deserialize(params)
- @PeerName = params['PeerName']
end
end
# PeerSet
class PeerSet < TencentCloud::Common::AbstractModel