Class: TencentCloud::Tcaplusdb::V20190823::CreateSnapshotsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcaplusdb::V20190823::CreateSnapshotsResponse
- Defined in:
- lib/v20190823/models.rb
Overview
CreateSnapshots返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, tableresults = nil, requestid = nil) ⇒ CreateSnapshotsResponse
constructor
A new instance of CreateSnapshotsResponse.
Constructor Details
#initialize(totalcount = nil, tableresults = nil, requestid = nil) ⇒ CreateSnapshotsResponse
Returns a new instance of CreateSnapshotsResponse.
816 817 818 819 820 |
# File 'lib/v20190823/models.rb', line 816 def initialize(totalcount=nil, tableresults=nil, requestid=nil) @TotalCount = totalcount @TableResults = tableresults @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
814 815 816 |
# File 'lib/v20190823/models.rb', line 814 def RequestId @RequestId end |
#TableResults ⇒ Object
814 815 816 |
# File 'lib/v20190823/models.rb', line 814 def TableResults @TableResults end |
#TotalCount ⇒ Object
814 815 816 |
# File 'lib/v20190823/models.rb', line 814 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
822 823 824 825 826 827 828 829 830 831 832 833 |
# File 'lib/v20190823/models.rb', line 822 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 |