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.
1572 1573 1574 1575 1576 |
# File 'lib/v20170312/models.rb', line 1572 def initialize(totalcount=nil, snapshotgroupset=nil, requestid=nil) @TotalCount = totalcount @SnapshotGroupSet = snapshotgroupset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
1570 1571 1572 |
# File 'lib/v20170312/models.rb', line 1570 def RequestId @RequestId end |
#SnapshotGroupSet ⇒ Object
1570 1571 1572 |
# File 'lib/v20170312/models.rb', line 1570 def SnapshotGroupSet @SnapshotGroupSet end |
#TotalCount ⇒ Object
1570 1571 1572 |
# File 'lib/v20170312/models.rb', line 1570 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 |
# File 'lib/v20170312/models.rb', line 1578 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 |