Class: TencentCloud::Dcdb::V20180411::DescribeDCDBInstanceNodeInfoResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180411/models.rb

Overview

DescribeDCDBInstanceNodeInfo返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, nodesinfo = nil, requestid = nil) ⇒ DescribeDCDBInstanceNodeInfoResponse



2970
2971
2972
2973
2974
# File 'lib/v20180411/models.rb', line 2970

def initialize(totalcount=nil, nodesinfo=nil, requestid=nil)
  @TotalCount = totalcount
  @NodesInfo = nodesinfo
  @RequestId = requestid
end

Instance Attribute Details

#NodesInfoObject



2968
2969
2970
# File 'lib/v20180411/models.rb', line 2968

def NodesInfo
  @NodesInfo
end

#RequestIdObject



2968
2969
2970
# File 'lib/v20180411/models.rb', line 2968

def RequestId
  @RequestId
end

#TotalCountObject



2968
2969
2970
# File 'lib/v20180411/models.rb', line 2968

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
# File 'lib/v20180411/models.rb', line 2976

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['NodesInfo'].nil?
    @NodesInfo = []
    params['NodesInfo'].each do |i|
      briefnodeinfo_tmp = BriefNodeInfo.new
      briefnodeinfo_tmp.deserialize(i)
      @NodesInfo << briefnodeinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end