Class: TencentCloud::Cwp::V20180228::DescribeMachineSnapshotResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeMachineSnapshotResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeMachineSnapshot返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(list = nil, totalcount = nil, snapshotcheck = nil, requestid = nil) ⇒ DescribeMachineSnapshotResponse
constructor
A new instance of DescribeMachineSnapshotResponse.
Constructor Details
#initialize(list = nil, totalcount = nil, snapshotcheck = nil, requestid = nil) ⇒ DescribeMachineSnapshotResponse
Returns a new instance of DescribeMachineSnapshotResponse.
17549 17550 17551 17552 17553 17554 |
# File 'lib/v20180228/models.rb', line 17549 def initialize(list=nil, totalcount=nil, snapshotcheck=nil, requestid=nil) @List = list @TotalCount = totalcount @SnapshotCheck = snapshotcheck @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
17547 17548 17549 |
# File 'lib/v20180228/models.rb', line 17547 def List @List end |
#RequestId ⇒ Object
17547 17548 17549 |
# File 'lib/v20180228/models.rb', line 17547 def RequestId @RequestId end |
#SnapshotCheck ⇒ Object
17547 17548 17549 |
# File 'lib/v20180228/models.rb', line 17547 def SnapshotCheck @SnapshotCheck end |
#TotalCount ⇒ Object
17547 17548 17549 |
# File 'lib/v20180228/models.rb', line 17547 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
17556 17557 17558 17559 17560 17561 17562 17563 17564 17565 17566 17567 17568 |
# File 'lib/v20180228/models.rb', line 17556 def deserialize(params) unless params['List'].nil? @List = [] params['List'].each do |i| machinesnapshotinfo_tmp = MachineSnapshotInfo.new machinesnapshotinfo_tmp.deserialize(i) @List << machinesnapshotinfo_tmp end end @TotalCount = params['TotalCount'] @SnapshotCheck = params['SnapshotCheck'] @RequestId = params['RequestId'] end |