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.
599 600 601 602 |
# File 'lib/v20170312/models.rb', line 599 def initialize(snapshotcopyresultset=nil, requestid=nil) @SnapshotCopyResultSet = snapshotcopyresultset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
597 598 599 |
# File 'lib/v20170312/models.rb', line 597 def RequestId @RequestId end |
#SnapshotCopyResultSet ⇒ Object
597 598 599 |
# File 'lib/v20170312/models.rb', line 597 def SnapshotCopyResultSet @SnapshotCopyResultSet end |
Instance Method Details
#deserialize(params) ⇒ Object
604 605 606 607 608 609 610 611 612 613 614 |
# File 'lib/v20170312/models.rb', line 604 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 |