Class: TencentCloud::Vm::V20210922::StorageInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vm::V20210922::StorageInfo
- Defined in:
- lib/v20210922/models.rb
Overview
数据存储信息
Instance Attribute Summary collapse
-
#BucketInfo ⇒ Object
URL 资源链接类型 COS 腾讯云对象存储类型.
-
#Type ⇒ Object
URL 资源链接类型 COS 腾讯云对象存储类型.
-
#Url ⇒ Object
URL 资源链接类型 COS 腾讯云对象存储类型.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, url = nil, bucketinfo = nil) ⇒ StorageInfo
constructor
A new instance of StorageInfo.
Constructor Details
#initialize(type = nil, url = nil, bucketinfo = nil) ⇒ StorageInfo
Returns a new instance of StorageInfo.
1264 1265 1266 1267 1268 |
# File 'lib/v20210922/models.rb', line 1264 def initialize(type=nil, url=nil, bucketinfo=nil) @Type = type @Url = url @BucketInfo = bucketinfo end |
Instance Attribute Details
#BucketInfo ⇒ Object
URL 资源链接类型 COS 腾讯云对象存储类型
1262 1263 1264 |
# File 'lib/v20210922/models.rb', line 1262 def BucketInfo @BucketInfo end |
#Type ⇒ Object
URL 资源链接类型 COS 腾讯云对象存储类型
1262 1263 1264 |
# File 'lib/v20210922/models.rb', line 1262 def Type @Type end |
#Url ⇒ Object
URL 资源链接类型 COS 腾讯云对象存储类型
1262 1263 1264 |
# File 'lib/v20210922/models.rb', line 1262 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
1270 1271 1272 1273 1274 1275 1276 1277 |
# File 'lib/v20210922/models.rb', line 1270 def deserialize(params) @Type = params['Type'] @Url = params['Url'] unless params['BucketInfo'].nil? @BucketInfo = BucketInfo.new @BucketInfo.deserialize(params['BucketInfo']) end end |