Class: TencentCloud::Cbs::V20170312::DescribeDiskAssociatedAutoSnapshotPolicyResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cbs::V20170312::DescribeDiskAssociatedAutoSnapshotPolicyResponse
- Defined in:
- lib/v20170312/models.rb
Overview
DescribeDiskAssociatedAutoSnapshotPolicy返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, autosnapshotpolicyset = nil, requestid = nil) ⇒ DescribeDiskAssociatedAutoSnapshotPolicyResponse
constructor
A new instance of DescribeDiskAssociatedAutoSnapshotPolicyResponse.
Constructor Details
#initialize(totalcount = nil, autosnapshotpolicyset = nil, requestid = nil) ⇒ DescribeDiskAssociatedAutoSnapshotPolicyResponse
Returns a new instance of DescribeDiskAssociatedAutoSnapshotPolicyResponse.
1163 1164 1165 1166 1167 |
# File 'lib/v20170312/models.rb', line 1163 def initialize(totalcount=nil, autosnapshotpolicyset=nil, requestid=nil) @TotalCount = totalcount @AutoSnapshotPolicySet = autosnapshotpolicyset @RequestId = requestid end |
Instance Attribute Details
#AutoSnapshotPolicySet ⇒ Object
1161 1162 1163 |
# File 'lib/v20170312/models.rb', line 1161 def AutoSnapshotPolicySet @AutoSnapshotPolicySet end |
#RequestId ⇒ Object
1161 1162 1163 |
# File 'lib/v20170312/models.rb', line 1161 def RequestId @RequestId end |
#TotalCount ⇒ Object
1161 1162 1163 |
# File 'lib/v20170312/models.rb', line 1161 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 |
# File 'lib/v20170312/models.rb', line 1169 def deserialize(params) @TotalCount = params['TotalCount'] unless params['AutoSnapshotPolicySet'].nil? @AutoSnapshotPolicySet = [] params['AutoSnapshotPolicySet'].each do |i| autosnapshotpolicy_tmp = AutoSnapshotPolicy.new autosnapshotpolicy_tmp.deserialize(i) @AutoSnapshotPolicySet << autosnapshotpolicy_tmp end end @RequestId = params['RequestId'] end |