Class: TencentCloud::Cfs::V20190719::UpdateCfsSnapshotAttributeRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfs::V20190719::UpdateCfsSnapshotAttributeRequest
- Defined in:
- lib/v20190719/models.rb
Overview
UpdateCfsSnapshotAttribute请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(snapshotid = nil, snapshotname = nil, alivedays = nil) ⇒ UpdateCfsSnapshotAttributeRequest
constructor
A new instance of UpdateCfsSnapshotAttributeRequest.
Constructor Details
#initialize(snapshotid = nil, snapshotname = nil, alivedays = nil) ⇒ UpdateCfsSnapshotAttributeRequest
Returns a new instance of UpdateCfsSnapshotAttributeRequest.
4345 4346 4347 4348 4349 |
# File 'lib/v20190719/models.rb', line 4345 def initialize(snapshotid=nil, snapshotname=nil, alivedays=nil) @SnapshotId = snapshotid @SnapshotName = snapshotname @AliveDays = alivedays end |
Instance Attribute Details
#AliveDays ⇒ Object
4343 4344 4345 |
# File 'lib/v20190719/models.rb', line 4343 def AliveDays @AliveDays end |
#SnapshotId ⇒ Object
4343 4344 4345 |
# File 'lib/v20190719/models.rb', line 4343 def SnapshotId @SnapshotId end |
#SnapshotName ⇒ Object
4343 4344 4345 |
# File 'lib/v20190719/models.rb', line 4343 def SnapshotName @SnapshotName end |
Instance Method Details
#deserialize(params) ⇒ Object
4351 4352 4353 4354 4355 |
# File 'lib/v20190719/models.rb', line 4351 def deserialize(params) @SnapshotId = params['SnapshotId'] @SnapshotName = params['SnapshotName'] @AliveDays = params['AliveDays'] end |