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.
1938 1939 1940 1941 1942 |
# File 'lib/v20190823/models.rb', line 1938 def initialize(totalcount=nil, tablegroups=nil, requestid=nil) @TotalCount = totalcount @TableGroups = tablegroups @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
1936 1937 1938 |
# File 'lib/v20190823/models.rb', line 1936 def RequestId @RequestId end |
#TableGroups ⇒ Object
1936 1937 1938 |
# File 'lib/v20190823/models.rb', line 1936 def TableGroups @TableGroups end |
#TotalCount ⇒ Object
1936 1937 1938 |
# File 'lib/v20190823/models.rb', line 1936 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 |
# File 'lib/v20190823/models.rb', line 1944 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 |