Class: TencentCloud::Tcaplusdb::V20190823::DescribeTablesResponse

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

Overview

DescribeTables返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, tableinfos = nil, requestid = nil) ⇒ DescribeTablesResponse



2147
2148
2149
2150
2151
# File 'lib/v20190823/models.rb', line 2147

def initialize(totalcount=nil, tableinfos=nil, requestid=nil)
  @TotalCount = totalcount
  @TableInfos = tableinfos
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject



2145
2146
2147
# File 'lib/v20190823/models.rb', line 2145

def RequestId
  @RequestId
end

#TableInfosObject



2145
2146
2147
# File 'lib/v20190823/models.rb', line 2145

def TableInfos
  @TableInfos
end

#TotalCountObject



2145
2146
2147
# File 'lib/v20190823/models.rb', line 2145

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
# File 'lib/v20190823/models.rb', line 2153

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['TableInfos'].nil?
    @TableInfos = []
    params['TableInfos'].each do |i|
      tableinfonew_tmp = TableInfoNew.new
      tableinfonew_tmp.deserialize(i)
      @TableInfos << tableinfonew_tmp
    end
  end
  @RequestId = params['RequestId']
end