Class: TencentCloud::Tcaplusdb::V20190823::DescribeTablesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcaplusdb::V20190823::DescribeTablesResponse
- Defined in:
- lib/v20190823/models.rb
Overview
DescribeTables返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, tableinfos = nil, requestid = nil) ⇒ DescribeTablesResponse
constructor
A new instance of DescribeTablesResponse.
Constructor Details
#initialize(totalcount = nil, tableinfos = nil, requestid = nil) ⇒ DescribeTablesResponse
Returns a new instance of 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
#RequestId ⇒ Object
2145 2146 2147 |
# File 'lib/v20190823/models.rb', line 2145 def RequestId @RequestId end |
#TableInfos ⇒ Object
2145 2146 2147 |
# File 'lib/v20190823/models.rb', line 2145 def TableInfos @TableInfos end |
#TotalCount ⇒ Object
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 |