Class: TencentCloud::Tcaplusdb::V20190823::SetTableIndexResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcaplusdb::V20190823::SetTableIndexResponse
- Defined in:
- lib/v20190823/models.rb
Overview
SetTableIndex返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, tableresults = nil, requestid = nil) ⇒ SetTableIndexResponse
constructor
A new instance of SetTableIndexResponse.
Constructor Details
#initialize(totalcount = nil, tableresults = nil, requestid = nil) ⇒ SetTableIndexResponse
Returns a new instance of SetTableIndexResponse.
4045 4046 4047 4048 4049 |
# File 'lib/v20190823/models.rb', line 4045 def initialize(totalcount=nil, tableresults=nil, requestid=nil) @TotalCount = totalcount @TableResults = tableresults @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
4043 4044 4045 |
# File 'lib/v20190823/models.rb', line 4043 def RequestId @RequestId end |
#TableResults ⇒ Object
4043 4044 4045 |
# File 'lib/v20190823/models.rb', line 4043 def TableResults @TableResults end |
#TotalCount ⇒ Object
4043 4044 4045 |
# File 'lib/v20190823/models.rb', line 4043 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 |
# File 'lib/v20190823/models.rb', line 4051 def deserialize(params) @TotalCount = params['TotalCount'] unless params['TableResults'].nil? @TableResults = [] params['TableResults'].each do |i| tableresultnew_tmp = TableResultNew.new tableresultnew_tmp.deserialize(i) @TableResults << tableresultnew_tmp end end @RequestId = params['RequestId'] end |