Class: TencentCloud::Cbs::V20170312::SnapshotCopyResult
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cbs::V20170312::SnapshotCopyResult
- Defined in:
- lib/v20170312/models.rb
Overview
描述快照跨地域复制的结果。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(snapshotid = nil, message = nil, code = nil, destinationregion = nil) ⇒ SnapshotCopyResult
constructor
A new instance of SnapshotCopyResult.
Constructor Details
#initialize(snapshotid = nil, message = nil, code = nil, destinationregion = nil) ⇒ SnapshotCopyResult
Returns a new instance of SnapshotCopyResult.
3395 3396 3397 3398 3399 3400 |
# File 'lib/v20170312/models.rb', line 3395 def initialize(snapshotid=nil, =nil, code=nil, destinationregion=nil) @SnapshotId = snapshotid @Message = @Code = code @DestinationRegion = destinationregion end |
Instance Attribute Details
#Code ⇒ Object
3393 3394 3395 |
# File 'lib/v20170312/models.rb', line 3393 def Code @Code end |
#DestinationRegion ⇒ Object
3393 3394 3395 |
# File 'lib/v20170312/models.rb', line 3393 def DestinationRegion @DestinationRegion end |
#Message ⇒ Object
3393 3394 3395 |
# File 'lib/v20170312/models.rb', line 3393 def Message @Message end |
#SnapshotId ⇒ Object
3393 3394 3395 |
# File 'lib/v20170312/models.rb', line 3393 def SnapshotId @SnapshotId end |
Instance Method Details
#deserialize(params) ⇒ Object
3402 3403 3404 3405 3406 3407 |
# File 'lib/v20170312/models.rb', line 3402 def deserialize(params) @SnapshotId = params['SnapshotId'] @Message = params['Message'] @Code = params['Code'] @DestinationRegion = params['DestinationRegion'] end |