Class: TencentCloud::Lighthouse::V20200324::DescribeSnapshotsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lighthouse::V20200324::DescribeSnapshotsResponse
- Defined in:
- lib/v20200324/models.rb
Overview
DescribeSnapshots返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, snapshotset = nil, requestid = nil) ⇒ DescribeSnapshotsResponse
constructor
A new instance of DescribeSnapshotsResponse.
Constructor Details
#initialize(totalcount = nil, snapshotset = nil, requestid = nil) ⇒ DescribeSnapshotsResponse
Returns a new instance of DescribeSnapshotsResponse.
4134 4135 4136 4137 4138 |
# File 'lib/v20200324/models.rb', line 4134 def initialize(totalcount=nil, snapshotset=nil, requestid=nil) @TotalCount = totalcount @SnapshotSet = snapshotset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
4132 4133 4134 |
# File 'lib/v20200324/models.rb', line 4132 def RequestId @RequestId end |
#SnapshotSet ⇒ Object
4132 4133 4134 |
# File 'lib/v20200324/models.rb', line 4132 def SnapshotSet @SnapshotSet end |
#TotalCount ⇒ Object
4132 4133 4134 |
# File 'lib/v20200324/models.rb', line 4132 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 |
# File 'lib/v20200324/models.rb', line 4140 def deserialize(params) @TotalCount = params['TotalCount'] unless params['SnapshotSet'].nil? @SnapshotSet = [] params['SnapshotSet'].each do |i| snapshot_tmp = Snapshot.new snapshot_tmp.deserialize(i) @SnapshotSet << snapshot_tmp end end @RequestId = params['RequestId'] end |