Class: TencentCloud::Cfs::V20190719::DescribeSnapshotOperationLogsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfs::V20190719::DescribeSnapshotOperationLogsResponse
- Defined in:
- lib/v20190719/models.rb
Overview
DescribeSnapshotOperationLogs返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(snapshotid = nil, snapshotoperates = nil, requestid = nil) ⇒ DescribeSnapshotOperationLogsResponse
constructor
A new instance of DescribeSnapshotOperationLogsResponse.
Constructor Details
#initialize(snapshotid = nil, snapshotoperates = nil, requestid = nil) ⇒ DescribeSnapshotOperationLogsResponse
Returns a new instance of DescribeSnapshotOperationLogsResponse.
2485 2486 2487 2488 2489 |
# File 'lib/v20190719/models.rb', line 2485 def initialize(snapshotid=nil, snapshotoperates=nil, requestid=nil) @SnapshotId = snapshotid @SnapshotOperates = snapshotoperates @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
2483 2484 2485 |
# File 'lib/v20190719/models.rb', line 2483 def RequestId @RequestId end |
#SnapshotId ⇒ Object
2483 2484 2485 |
# File 'lib/v20190719/models.rb', line 2483 def SnapshotId @SnapshotId end |
#SnapshotOperates ⇒ Object
2483 2484 2485 |
# File 'lib/v20190719/models.rb', line 2483 def SnapshotOperates @SnapshotOperates end |
Instance Method Details
#deserialize(params) ⇒ Object
2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 |
# File 'lib/v20190719/models.rb', line 2491 def deserialize(params) @SnapshotId = params['SnapshotId'] unless params['SnapshotOperates'].nil? @SnapshotOperates = [] params['SnapshotOperates'].each do |i| snapshotoperatelog_tmp = SnapshotOperateLog.new snapshotoperatelog_tmp.deserialize(i) @SnapshotOperates << snapshotoperatelog_tmp end end @RequestId = params['RequestId'] end |