Class: TencentCloud::Tcaplusdb::V20190823::DescribeTableGroupsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcaplusdb::V20190823::DescribeTableGroupsResponse
- Defined in:
- lib/v20190823/models.rb
Overview
DescribeTableGroups返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, tablegroups = nil, requestid = nil) ⇒ DescribeTableGroupsResponse
constructor
A new instance of DescribeTableGroupsResponse.
Constructor Details
#initialize(totalcount = nil, tablegroups = nil, requestid = nil) ⇒ DescribeTableGroupsResponse
Returns a new instance of DescribeTableGroupsResponse.
1963 1964 1965 1966 1967 |
# File 'lib/v20190823/models.rb', line 1963 def initialize(totalcount=nil, tablegroups=nil, requestid=nil) @TotalCount = totalcount @TableGroups = tablegroups @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
1961 1962 1963 |
# File 'lib/v20190823/models.rb', line 1961 def RequestId @RequestId end |
#TableGroups ⇒ Object
1961 1962 1963 |
# File 'lib/v20190823/models.rb', line 1961 def TableGroups @TableGroups end |
#TotalCount ⇒ Object
1961 1962 1963 |
# File 'lib/v20190823/models.rb', line 1961 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 |
# File 'lib/v20190823/models.rb', line 1969 def deserialize(params) @TotalCount = params['TotalCount'] unless params['TableGroups'].nil? @TableGroups = [] params['TableGroups'].each do |i| tablegroupinfo_tmp = TableGroupInfo.new tablegroupinfo_tmp.deserialize(i) @TableGroups << tablegroupinfo_tmp end end @RequestId = params['RequestId'] end |