Class: TencentCloud::Tcaplusdb::V20190823::DescribeTableGroupsResponse

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

Overview

DescribeTableGroups返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#RequestIdObject

Parameters:

  • TotalCount:

    表格组数量

  • TableGroups:

    表格组信息列表

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



1961
1962
1963
# File 'lib/v20190823/models.rb', line 1961

def RequestId
  @RequestId
end

#TableGroupsObject

Parameters:

  • TotalCount:

    表格组数量

  • TableGroups:

    表格组信息列表

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



1961
1962
1963
# File 'lib/v20190823/models.rb', line 1961

def TableGroups
  @TableGroups
end

#TotalCountObject

Parameters:

  • TotalCount:

    表格组数量

  • TableGroups:

    表格组信息列表

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



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