lib/v20210519/models.rb in tencentcloud-sdk-tdid-3.0.617 vs lib/v20210519/models.rb in tencentcloud-sdk-tdid-3.0.618

- old
+ new

@@ -51,82 +51,10 @@ def deserialize(params) @RequestId = params['RequestId'] end end - # bcos网络信息 - class BcosClusterItem < TencentCloud::Common::AbstractModel - # @param ChainId: 网络索引id - # @type ChainId: Integer - # @param ChainName: 网络名称 - # @type ChainName: String - # @param AgencyCount: 机构数量 - # @type AgencyCount: Integer - # @param ConsortiumId: 联盟id - # @type ConsortiumId: Integer - # @param CreateTime: 创建时间 - # @type CreateTime: String - # @param ExpireTime: 过期时间 - # @type ExpireTime: String - # @param ChainStatus: 网络状态 - # @type ChainStatus: Integer - # @param ResourceId: 资源 id - # @type ResourceId: String - # @param ClusterId: 集群id - # @type ClusterId: String - # @param ConsortiumName: 组织名称 - # @type ConsortiumName: String - # @param AgencyId: 机构id - # @type AgencyId: Integer - # @param AutoRenewFlag: 续费状态 - # @type AutoRenewFlag: Integer - # @param TotalNetworkNode: 网络模式 - # @type TotalNetworkNode: Integer - # @param TotalCreateNode: 创建节点数 - # @type TotalCreateNode: Integer - # @param TotalGroups: 总群组数量 - # @type TotalGroups: Integer - - attr_accessor :ChainId, :ChainName, :AgencyCount, :ConsortiumId, :CreateTime, :ExpireTime, :ChainStatus, :ResourceId, :ClusterId, :ConsortiumName, :AgencyId, :AutoRenewFlag, :TotalNetworkNode, :TotalCreateNode, :TotalGroups - - def initialize(chainid=nil, chainname=nil, agencycount=nil, consortiumid=nil, createtime=nil, expiretime=nil, chainstatus=nil, resourceid=nil, clusterid=nil, consortiumname=nil, agencyid=nil, autorenewflag=nil, totalnetworknode=nil, totalcreatenode=nil, totalgroups=nil) - @ChainId = chainid - @ChainName = chainname - @AgencyCount = agencycount - @ConsortiumId = consortiumid - @CreateTime = createtime - @ExpireTime = expiretime - @ChainStatus = chainstatus - @ResourceId = resourceid - @ClusterId = clusterid - @ConsortiumName = consortiumname - @AgencyId = agencyid - @AutoRenewFlag = autorenewflag - @TotalNetworkNode = totalnetworknode - @TotalCreateNode = totalcreatenode - @TotalGroups = totalgroups - end - - def deserialize(params) - @ChainId = params['ChainId'] - @ChainName = params['ChainName'] - @AgencyCount = params['AgencyCount'] - @ConsortiumId = params['ConsortiumId'] - @CreateTime = params['CreateTime'] - @ExpireTime = params['ExpireTime'] - @ChainStatus = params['ChainStatus'] - @ResourceId = params['ResourceId'] - @ClusterId = params['ClusterId'] - @ConsortiumName = params['ConsortiumName'] - @AgencyId = params['AgencyId'] - @AutoRenewFlag = params['AutoRenewFlag'] - @TotalNetworkNode = params['TotalNetworkNode'] - @TotalCreateNode = params['TotalCreateNode'] - @TotalGroups = params['TotalGroups'] - end - end - # CheckChain请求参数结构体 class CheckChainRequest < TencentCloud::Common::AbstractModel # @param GroupId: 群组ID # @type GroupId: Integer # @param ClusterId: 网络ID @@ -175,62 +103,10 @@ @AppName = params['AppName'] @RequestId = params['RequestId'] end end - # 联盟信息 - class ConsortiumItem < TencentCloud::Common::AbstractModel - # @param Id: 联盟id - # @type Id: Integer - # @param Name: 联盟名称 - # @type Name: String - - attr_accessor :Id, :Name - - def initialize(id=nil, name=nil) - @Id = id - @Name = name - end - - def deserialize(params) - @Id = params['Id'] - @Name = params['Name'] - end - end - - # 模板颁发量排名 - class CptIssueRank < TencentCloud::Common::AbstractModel - # @param CptName: 模板名称 - # @type CptName: String - # @param Rank: 名次 - # @type Rank: Integer - # @param Count: 颁发量 - # @type Count: Integer - # @param ApplyName: 应用名称 - # @type ApplyName: String - # @param ApplyId: 应用ID - # @type ApplyId: Integer - - attr_accessor :CptName, :Rank, :Count, :ApplyName, :ApplyId - - def initialize(cptname=nil, rank=nil, count=nil, applyname=nil, applyid=nil) - @CptName = cptname - @Rank = rank - @Count = count - @ApplyName = applyname - @ApplyId = applyid - end - - def deserialize(params) - @CptName = params['CptName'] - @Rank = params['Rank'] - @Count = params['Count'] - @ApplyName = params['ApplyName'] - @ApplyId = params['ApplyId'] - end - end - # CreateCredential请求参数结构体 class CreateCredentialRequest < TencentCloud::Common::AbstractModel # @param FunctionArg: 参数集合,详见示例 # @type FunctionArg: :class:`Tencentcloud::Tdid.v20210519.models.FunctionArg` # @param TransactionArg: 参数集合,详见示例 @@ -634,91 +510,10 @@ @RecognizeTime = params['RecognizeTime'] @RequestId = params['RequestId'] end end - # GetConsortiumClusterList请求参数结构体 - class GetConsortiumClusterListRequest < TencentCloud::Common::AbstractModel - # @param ConsortiumId: 联盟id - # @type ConsortiumId: Integer - - attr_accessor :ConsortiumId - - def initialize(consortiumid=nil) - @ConsortiumId = consortiumid - end - - def deserialize(params) - @ConsortiumId = params['ConsortiumId'] - end - end - - # GetConsortiumClusterList返回参数结构体 - class GetConsortiumClusterListResponse < TencentCloud::Common::AbstractModel - # @param ClusterList: 网络列表 - # @type ClusterList: Array - # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - # @type RequestId: String - - attr_accessor :ClusterList, :RequestId - - def initialize(clusterlist=nil, requestid=nil) - @ClusterList = clusterlist - @RequestId = requestid - end - - def deserialize(params) - unless params['ClusterList'].nil? - @ClusterList = [] - params['ClusterList'].each do |i| - bcosclusteritem_tmp = BcosClusterItem.new - bcosclusteritem_tmp.deserialize(i) - @ClusterList << bcosclusteritem_tmp - end - end - @RequestId = params['RequestId'] - end - end - - # GetConsortiumList请求参数结构体 - class GetConsortiumListRequest < TencentCloud::Common::AbstractModel - - - def initialize() - end - - def deserialize(params) - end - end - - # GetConsortiumList返回参数结构体 - class GetConsortiumListResponse < TencentCloud::Common::AbstractModel - # @param ConsortiumList: 联盟列表 - # @type ConsortiumList: Array - # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - # @type RequestId: String - - attr_accessor :ConsortiumList, :RequestId - - def initialize(consortiumlist=nil, requestid=nil) - @ConsortiumList = consortiumlist - @RequestId = requestid - end - - def deserialize(params) - unless params['ConsortiumList'].nil? - @ConsortiumList = [] - params['ConsortiumList'].each do |i| - consortiumitem_tmp = ConsortiumItem.new - consortiumitem_tmp.deserialize(i) - @ConsortiumList << consortiumitem_tmp - end - end - @RequestId = params['RequestId'] - end - end - # GetCptInfo请求参数结构体 class GetCptInfoRequest < TencentCloud::Common::AbstractModel # @param CptIndex: Cpt索引 # @type CptIndex: Integer @@ -747,60 +542,9 @@ @RequestId = requestid end def deserialize(params) @CptJsonData = params['CptJsonData'] - @RequestId = params['RequestId'] - end - end - - # GetCredentialCptRank请求参数结构体 - class GetCredentialCptRankRequest < TencentCloud::Common::AbstractModel - # @param StartTime: 开始时间(支持到天 2021-4-23) - # @type StartTime: String - # @param EndTime: 结束时间(支持到天 2021-4-23) - # @type EndTime: String - # @param ClusterId: 网络ID - # @type ClusterId: String - - attr_accessor :StartTime, :EndTime, :ClusterId - - def initialize(starttime=nil, endtime=nil, clusterid=nil) - @StartTime = starttime - @EndTime = endtime - @ClusterId = clusterid - end - - def deserialize(params) - @StartTime = params['StartTime'] - @EndTime = params['EndTime'] - @ClusterId = params['ClusterId'] - end - end - - # GetCredentialCptRank返回参数结构体 - class GetCredentialCptRankResponse < TencentCloud::Common::AbstractModel - # @param RankIssueResult: Rank集合 - # @type RankIssueResult: Array - # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - # @type RequestId: String - - attr_accessor :RankIssueResult, :RequestId - - def initialize(rankissueresult=nil, requestid=nil) - @RankIssueResult = rankissueresult - @RequestId = requestid - end - - def deserialize(params) - unless params['RankIssueResult'].nil? - @RankIssueResult = [] - params['RankIssueResult'].each do |i| - cptissuerank_tmp = CptIssueRank.new - cptissuerank_tmp.deserialize(i) - @RankIssueResult << cptissuerank_tmp - end - end @RequestId = params['RequestId'] end end # GetCredentialStatus请求参数结构体