Class: TencentCloud::Cbs::V20170312::CopySnapshotCrossRegionsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cbs::V20170312::CopySnapshotCrossRegionsResponse
- Defined in:
- lib/v20170312/models.rb
Overview
CopySnapshotCrossRegions返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(snapshotcopyresultset = nil, requestid = nil) ⇒ CopySnapshotCrossRegionsResponse
constructor
A new instance of CopySnapshotCrossRegionsResponse.
Constructor Details
#initialize(snapshotcopyresultset = nil, requestid = nil) ⇒ CopySnapshotCrossRegionsResponse
Returns a new instance of CopySnapshotCrossRegionsResponse.
554 555 556 557 |
# File 'lib/v20170312/models.rb', line 554 def initialize(snapshotcopyresultset=nil, requestid=nil) @SnapshotCopyResultSet = snapshotcopyresultset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
552 553 554 |
# File 'lib/v20170312/models.rb', line 552 def RequestId @RequestId end |
#SnapshotCopyResultSet ⇒ Object
552 553 554 |
# File 'lib/v20170312/models.rb', line 552 def SnapshotCopyResultSet @SnapshotCopyResultSet end |
Instance Method Details
#deserialize(params) ⇒ Object
559 560 561 562 563 564 565 566 567 568 569 |
# File 'lib/v20170312/models.rb', line 559 def deserialize(params) unless params['SnapshotCopyResultSet'].nil? @SnapshotCopyResultSet = [] params['SnapshotCopyResultSet'].each do |i| snapshotcopyresult_tmp = SnapshotCopyResult.new snapshotcopyresult_tmp.deserialize(i) @SnapshotCopyResultSet << snapshotcopyresult_tmp end end @RequestId = params['RequestId'] end |