Class: TencentCloud::Ess::V20201111::FileInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ess::V20201111::FileInfo
- Defined in:
- lib/v20201111/models.rb
Overview
模板中文件的信息结构
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(fileid = nil, filename = nil, filesize = nil, createdon = nil) ⇒ FileInfo
constructor
A new instance of FileInfo.
Constructor Details
#initialize(fileid = nil, filename = nil, filesize = nil, createdon = nil) ⇒ FileInfo
Returns a new instance of FileInfo.
12675 12676 12677 12678 12679 12680 |
# File 'lib/v20201111/models.rb', line 12675 def initialize(fileid=nil, filename=nil, filesize=nil, createdon=nil) @FileId = fileid @FileName = filename @FileSize = filesize @CreatedOn = createdon end |
Instance Attribute Details
#CreatedOn ⇒ Object
12673 12674 12675 |
# File 'lib/v20201111/models.rb', line 12673 def CreatedOn @CreatedOn end |
#FileId ⇒ Object
12673 12674 12675 |
# File 'lib/v20201111/models.rb', line 12673 def FileId @FileId end |
#FileName ⇒ Object
12673 12674 12675 |
# File 'lib/v20201111/models.rb', line 12673 def FileName @FileName end |
#FileSize ⇒ Object
12673 12674 12675 |
# File 'lib/v20201111/models.rb', line 12673 def FileSize @FileSize end |
Instance Method Details
#deserialize(params) ⇒ Object
12682 12683 12684 12685 12686 12687 |
# File 'lib/v20201111/models.rb', line 12682 def deserialize(params) @FileId = params['FileId'] @FileName = params['FileName'] @FileSize = params['FileSize'] @CreatedOn = params['CreatedOn'] end |