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.
796 797 798 799 800 |
# File 'lib/v20190823/models.rb', line 796 def initialize(totalcount=nil, tableresults=nil, requestid=nil) @TotalCount = totalcount @TableResults = tableresults @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
794 795 796 |
# File 'lib/v20190823/models.rb', line 794 def RequestId @RequestId end |
#TableResults ⇒ Object
794 795 796 |
# File 'lib/v20190823/models.rb', line 794 def TableResults @TableResults end |
#TotalCount ⇒ Object
794 795 796 |
# File 'lib/v20190823/models.rb', line 794 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
802 803 804 805 806 807 808 809 810 811 812 813 |
# File 'lib/v20190823/models.rb', line 802 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 |