Class: TencentCloud::Cfs::V20190719::CreateCfsSnapshotRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfs::V20190719::CreateCfsSnapshotRequest
- Defined in:
- lib/v20190719/models.rb
Overview
CreateCfsSnapshot请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(filesystemid = nil, snapshotname = nil, resourcetags = nil) ⇒ CreateCfsSnapshotRequest
constructor
A new instance of CreateCfsSnapshotRequest.
Constructor Details
#initialize(filesystemid = nil, snapshotname = nil, resourcetags = nil) ⇒ CreateCfsSnapshotRequest
Returns a new instance of CreateCfsSnapshotRequest.
822 823 824 825 826 |
# File 'lib/v20190719/models.rb', line 822 def initialize(filesystemid=nil, snapshotname=nil, =nil) @FileSystemId = filesystemid @SnapshotName = snapshotname @ResourceTags = end |
Instance Attribute Details
#FileSystemId ⇒ Object
820 821 822 |
# File 'lib/v20190719/models.rb', line 820 def FileSystemId @FileSystemId end |
#ResourceTags ⇒ Object
820 821 822 |
# File 'lib/v20190719/models.rb', line 820 def ResourceTags @ResourceTags end |
#SnapshotName ⇒ Object
820 821 822 |
# File 'lib/v20190719/models.rb', line 820 def SnapshotName @SnapshotName end |
Instance Method Details
#deserialize(params) ⇒ Object
828 829 830 831 832 833 834 835 836 837 838 839 |
# File 'lib/v20190719/models.rb', line 828 def deserialize(params) @FileSystemId = params['FileSystemId'] @SnapshotName = params['SnapshotName'] unless params['ResourceTags'].nil? @ResourceTags = [] params['ResourceTags'].each do |i| taginfo_tmp = TagInfo.new taginfo_tmp.deserialize(i) @ResourceTags << taginfo_tmp end end end |