Class: TencentCloud::Cbs::V20170312::ModifySnapshotAttributeRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cbs::V20170312::ModifySnapshotAttributeRequest
- Defined in:
- lib/v20170312/models.rb
Overview
ModifySnapshotAttribute请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(snapshotid = nil, ispermanent = nil, snapshotname = nil, deadline = nil) ⇒ ModifySnapshotAttributeRequest
constructor
A new instance of ModifySnapshotAttributeRequest.
Constructor Details
#initialize(snapshotid = nil, ispermanent = nil, snapshotname = nil, deadline = nil) ⇒ ModifySnapshotAttributeRequest
Returns a new instance of ModifySnapshotAttributeRequest.
2886 2887 2888 2889 2890 2891 |
# File 'lib/v20170312/models.rb', line 2886 def initialize(snapshotid=nil, ispermanent=nil, snapshotname=nil, deadline=nil) @SnapshotId = snapshotid @IsPermanent = ispermanent @SnapshotName = snapshotname @Deadline = deadline end |
Instance Attribute Details
#Deadline ⇒ Object
2884 2885 2886 |
# File 'lib/v20170312/models.rb', line 2884 def Deadline @Deadline end |
#IsPermanent ⇒ Object
2884 2885 2886 |
# File 'lib/v20170312/models.rb', line 2884 def IsPermanent @IsPermanent end |
#SnapshotId ⇒ Object
2884 2885 2886 |
# File 'lib/v20170312/models.rb', line 2884 def SnapshotId @SnapshotId end |
#SnapshotName ⇒ Object
2884 2885 2886 |
# File 'lib/v20170312/models.rb', line 2884 def SnapshotName @SnapshotName end |
Instance Method Details
#deserialize(params) ⇒ Object
2893 2894 2895 2896 2897 2898 |
# File 'lib/v20170312/models.rb', line 2893 def deserialize(params) @SnapshotId = params['SnapshotId'] @IsPermanent = params['IsPermanent'] @SnapshotName = params['SnapshotName'] @Deadline = params['Deadline'] end |