Class: TencentCloud::Tcaplusdb::V20190823::DescribeSnapshotsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcaplusdb::V20190823::DescribeSnapshotsResponse
- Defined in:
- lib/v20190823/models.rb
Overview
DescribeSnapshots返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, tableresults = nil, requestid = nil) ⇒ DescribeSnapshotsResponse
constructor
A new instance of DescribeSnapshotsResponse.
Constructor Details
#initialize(totalcount = nil, tableresults = nil, requestid = nil) ⇒ DescribeSnapshotsResponse
Returns a new instance of DescribeSnapshotsResponse.
1817 1818 1819 1820 1821 |
# File 'lib/v20190823/models.rb', line 1817 def initialize(totalcount=nil, tableresults=nil, requestid=nil) @TotalCount = totalcount @TableResults = tableresults @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
1815 1816 1817 |
# File 'lib/v20190823/models.rb', line 1815 def RequestId @RequestId end |
#TableResults ⇒ Object
1815 1816 1817 |
# File 'lib/v20190823/models.rb', line 1815 def TableResults @TableResults end |
#TotalCount ⇒ Object
1815 1816 1817 |
# File 'lib/v20190823/models.rb', line 1815 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 |
# File 'lib/v20190823/models.rb', line 1823 def deserialize(params) @TotalCount = params['TotalCount'] unless params['TableResults'].nil? @TableResults = [] params['TableResults'].each do |i| snapshotresult_tmp = SnapshotResult.new snapshotresult_tmp.deserialize(i) @TableResults << snapshotresult_tmp end end @RequestId = params['RequestId'] end |