Class: TencentCloud::Cfs::V20190719::DescribeCfsSnapshotsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfs::V20190719::DescribeCfsSnapshotsResponse
- Defined in:
- lib/v20190719/models.rb
Overview
DescribeCfsSnapshots返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, snapshots = nil, totalsize = nil, requestid = nil) ⇒ DescribeCfsSnapshotsResponse
constructor
A new instance of DescribeCfsSnapshotsResponse.
Constructor Details
#initialize(totalcount = nil, snapshots = nil, totalsize = nil, requestid = nil) ⇒ DescribeCfsSnapshotsResponse
Returns a new instance of DescribeCfsSnapshotsResponse.
1647 1648 1649 1650 1651 1652 |
# File 'lib/v20190719/models.rb', line 1647 def initialize(totalcount=nil, snapshots=nil, totalsize=nil, requestid=nil) @TotalCount = totalcount @Snapshots = snapshots @TotalSize = totalsize @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
1645 1646 1647 |
# File 'lib/v20190719/models.rb', line 1645 def RequestId @RequestId end |
#Snapshots ⇒ Object
1645 1646 1647 |
# File 'lib/v20190719/models.rb', line 1645 def Snapshots @Snapshots end |
#TotalCount ⇒ Object
1645 1646 1647 |
# File 'lib/v20190719/models.rb', line 1645 def TotalCount @TotalCount end |
#TotalSize ⇒ Object
1645 1646 1647 |
# File 'lib/v20190719/models.rb', line 1645 def TotalSize @TotalSize end |
Instance Method Details
#deserialize(params) ⇒ Object
1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 |
# File 'lib/v20190719/models.rb', line 1654 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Snapshots'].nil? @Snapshots = [] params['Snapshots'].each do |i| snapshotinfo_tmp = SnapshotInfo.new snapshotinfo_tmp.deserialize(i) @Snapshots << snapshotinfo_tmp end end @TotalSize = params['TotalSize'] @RequestId = params['RequestId'] end |