Class: TencentCloud::Cbs::V20170312::DescribeSnapshotGroupsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cbs::V20170312::DescribeSnapshotGroupsResponse
- Defined in:
- lib/v20170312/models.rb
Overview
DescribeSnapshotGroups返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, snapshotgroupset = nil, requestid = nil) ⇒ DescribeSnapshotGroupsResponse
constructor
A new instance of DescribeSnapshotGroupsResponse.
Constructor Details
#initialize(totalcount = nil, snapshotgroupset = nil, requestid = nil) ⇒ DescribeSnapshotGroupsResponse
Returns a new instance of DescribeSnapshotGroupsResponse.
1617 1618 1619 1620 1621 |
# File 'lib/v20170312/models.rb', line 1617 def initialize(totalcount=nil, snapshotgroupset=nil, requestid=nil) @TotalCount = totalcount @SnapshotGroupSet = snapshotgroupset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
1615 1616 1617 |
# File 'lib/v20170312/models.rb', line 1615 def RequestId @RequestId end |
#SnapshotGroupSet ⇒ Object
1615 1616 1617 |
# File 'lib/v20170312/models.rb', line 1615 def SnapshotGroupSet @SnapshotGroupSet end |
#TotalCount ⇒ Object
1615 1616 1617 |
# File 'lib/v20170312/models.rb', line 1615 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 |
# File 'lib/v20170312/models.rb', line 1623 def deserialize(params) @TotalCount = params['TotalCount'] unless params['SnapshotGroupSet'].nil? @SnapshotGroupSet = [] params['SnapshotGroupSet'].each do |i| snapshotgroup_tmp = SnapshotGroup.new snapshotgroup_tmp.deserialize(i) @SnapshotGroupSet << snapshotgroup_tmp end end @RequestId = params['RequestId'] end |