Class: TencentCloud::Smh::V20210712::Library
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Smh::V20210712::Library
- Defined in:
- lib/v20210712/models.rb
Overview
PaaS 服务媒体库信息
Instance Attribute Summary collapse
- #AccessDomain ⇒ Object
- #BucketName ⇒ Object
- #BucketRegion ⇒ Object
- #CreationTime ⇒ Object
- #DirNum ⇒ Object
- #FileNum ⇒ Object
- #LibraryExtension ⇒ Object
- #LibraryId ⇒ Object
- #Name ⇒ Object
- #Remark ⇒ Object
- #Size ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(libraryid = nil, name = nil, remark = nil, bucketname = nil, bucketregion = nil, accessdomain = nil, creationtime = nil, libraryextension = nil, size = nil, dirnum = nil, filenum = nil) ⇒ Library
constructor
A new instance of Library.
Constructor Details
#initialize(libraryid = nil, name = nil, remark = nil, bucketname = nil, bucketregion = nil, accessdomain = nil, creationtime = nil, libraryextension = nil, size = nil, dirnum = nil, filenum = nil) ⇒ Library
Returns a new instance of Library.
779 780 781 782 783 784 785 786 787 788 789 790 791 |
# File 'lib/v20210712/models.rb', line 779 def initialize(libraryid=nil, name=nil, remark=nil, bucketname=nil, bucketregion=nil, accessdomain=nil, creationtime=nil, libraryextension=nil, size=nil, dirnum=nil, filenum=nil) @LibraryId = libraryid @Name = name @Remark = remark @BucketName = bucketname @BucketRegion = bucketregion @AccessDomain = accessdomain @CreationTime = creationtime @LibraryExtension = libraryextension @Size = size @DirNum = dirnum @FileNum = filenum end |
Instance Attribute Details
#AccessDomain ⇒ Object
777 778 779 |
# File 'lib/v20210712/models.rb', line 777 def AccessDomain @AccessDomain end |
#BucketName ⇒ Object
777 778 779 |
# File 'lib/v20210712/models.rb', line 777 def BucketName @BucketName end |
#BucketRegion ⇒ Object
777 778 779 |
# File 'lib/v20210712/models.rb', line 777 def BucketRegion @BucketRegion end |
#CreationTime ⇒ Object
777 778 779 |
# File 'lib/v20210712/models.rb', line 777 def CreationTime @CreationTime end |
#DirNum ⇒ Object
777 778 779 |
# File 'lib/v20210712/models.rb', line 777 def DirNum @DirNum end |
#FileNum ⇒ Object
777 778 779 |
# File 'lib/v20210712/models.rb', line 777 def FileNum @FileNum end |
#LibraryExtension ⇒ Object
777 778 779 |
# File 'lib/v20210712/models.rb', line 777 def LibraryExtension @LibraryExtension end |
#LibraryId ⇒ Object
777 778 779 |
# File 'lib/v20210712/models.rb', line 777 def LibraryId @LibraryId end |
#Name ⇒ Object
777 778 779 |
# File 'lib/v20210712/models.rb', line 777 def Name @Name end |
#Remark ⇒ Object
777 778 779 |
# File 'lib/v20210712/models.rb', line 777 def Remark @Remark end |
#Size ⇒ Object
777 778 779 |
# File 'lib/v20210712/models.rb', line 777 def Size @Size end |
Instance Method Details
#deserialize(params) ⇒ Object
793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 |
# File 'lib/v20210712/models.rb', line 793 def deserialize(params) @LibraryId = params['LibraryId'] @Name = params['Name'] @Remark = params['Remark'] @BucketName = params['BucketName'] @BucketRegion = params['BucketRegion'] @AccessDomain = params['AccessDomain'] @CreationTime = params['CreationTime'] unless params['LibraryExtension'].nil? @LibraryExtension = LibraryExtension.new @LibraryExtension.deserialize(params['LibraryExtension']) end @Size = params['Size'] @DirNum = params['DirNum'] @FileNum = params['FileNum'] end |