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.
3440 3441 3442 3443 3444 3445 |
# File 'lib/v20170312/models.rb', line 3440 def initialize(snapshotid=nil, =nil, code=nil, destinationregion=nil) @SnapshotId = snapshotid @Message = @Code = code @DestinationRegion = destinationregion end |
Instance Attribute Details
#Code ⇒ Object
3438 3439 3440 |
# File 'lib/v20170312/models.rb', line 3438 def Code @Code end |
#DestinationRegion ⇒ Object
3438 3439 3440 |
# File 'lib/v20170312/models.rb', line 3438 def DestinationRegion @DestinationRegion end |
#Message ⇒ Object
3438 3439 3440 |
# File 'lib/v20170312/models.rb', line 3438 def Message @Message end |
#SnapshotId ⇒ Object
3438 3439 3440 |
# File 'lib/v20170312/models.rb', line 3438 def SnapshotId @SnapshotId end |
Instance Method Details
#deserialize(params) ⇒ Object
3447 3448 3449 3450 3451 3452 |
# File 'lib/v20170312/models.rb', line 3447 def deserialize(params) @SnapshotId = params['SnapshotId'] @Message = params['Message'] @Code = params['Code'] @DestinationRegion = params['DestinationRegion'] end |